package io.finer.erp.jeecg.stock.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.finer.erp.jeecg.stock.entity.StockMove;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.finer.erp.jeecg.stock.vo.StockMovePage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 库存移动 Mapper 接口
 * </p>
 *
 * @author yaoyifan
 * @since 2021-05-30
 */
public interface StockMoveMapper extends BaseMapper<StockMove> {
    public IPage<StockMovePage> selectStockMovePage(Page page, @Param(Constants.WRAPPER) Wrapper<StockMovePage> queryWrapper);
    public StockMovePage selectStockMovePageById(@Param("id") String id);
    public List<StockMovePage> selectStockMovePageByIds(@Param(Constants.WRAPPER) Wrapper<StockMovePage> queryWrapper);
}
